Add emacsVER-dbg, emacsVER-lucid-dbg, and emacsVER-nox-dbg packages.
authorRob Browning <rlb@defaultvalue.org>
Sun, 20 Jan 2013 22:10:43 +0000 (16:10 -0600)
committerRob Browning <rlb@defaultvalue.org>
Sun, 20 Jan 2013 22:17:51 +0000 (16:17 -0600)
debian/control
debian/control.in
debian/rules

index 1a5bca07287fd043bb911f3a2819ff2b6478d9ff..ea600bd5fb2130f2e852847ab7430e25fa9694ff 100644 (file)
@@ -24,6 +24,16 @@ Description: GNU Emacs editor
  GNU Emacs is the extensible self-documenting text editor.
  This package contains a version of Emacs with a Lucid user interface.
 
+Package: emacs24-lucid-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: emacs24-lucid-dbg (= ${binary:Version}), ${misc:Depends}
+Description: Debugging symbols for emacs24-lucid
+ GNU Emacs is the extensible self-documenting text editor.  This
+ package contains the debugging symbols for the version of Emacs with
+ a Lucid user interface.
+
 Package: emacs24-nox
 Architecture: any
 Depends: emacs24-bin-common (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
@@ -35,6 +45,16 @@ Description: GNU Emacs editor (without X support)
  GNU Emacs is the extensible self-documenting text editor.
  This package contains a version of Emacs compiled without support for X.
 
+Package: emacs24-nox-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: emacs24-nox-dbg (= ${binary:Version}), ${misc:Depends}
+Description: Debugging symbols for emacs24-nox
+ GNU Emacs is the extensible self-documenting text editor.  This
+ package contains the debugging symbols for a version of Emacs
+ compiled without support for X.
+
 Package: emacs24
 Architecture: any
 Depends: emacs24-bin-common (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
@@ -46,6 +66,16 @@ Description: GNU Emacs editor (with GTK+ user interface)
  GNU Emacs is the extensible self-documenting text editor.
  This package contains a version of Emacs with a GTK+ user interface.
 
+Package: emacs24-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: emacs24-dbg (= ${binary:Version}), ${misc:Depends}
+Description: Debugging symbols for emacs24
+ GNU Emacs is the extensible self-documenting text editor.  This
+ package contains the debugging symbols for a version of Emacs with a
+ GTK+ user interface.
+
 Package: emacs24-bin-common
 Architecture: any
 Depends: emacs24-common (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
index 43e8e78b6bc8bee3fcf156cd69e60c1e0f37240a..e9124ea96e388633f80d4eb54b94f58507c76921 100644 (file)
@@ -24,6 +24,16 @@ Description: GNU Emacs editor
  GNU Emacs is the extensible self-documenting text editor.
  This package contains a version of Emacs with a Lucid user interface.
 
+Package: @DEB_FLAVOR@-lucid-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: @DEB_FLAVOR@-lucid-dbg (= ${binary:Version}), ${misc:Depends}
+Description: Debugging symbols for @DEB_FLAVOR@-lucid
+ GNU Emacs is the extensible self-documenting text editor.  This
+ package contains the debugging symbols for the version of Emacs with
+ a Lucid user interface.
+
 Package: @DEB_FLAVOR@-nox
 Architecture: any
 Depends: @DEB_FLAVOR@-bin-common (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
@@ -35,6 +45,16 @@ Description: GNU Emacs editor (without X support)
  GNU Emacs is the extensible self-documenting text editor.
  This package contains a version of Emacs compiled without support for X.
 
+Package: @DEB_FLAVOR@-nox-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: @DEB_FLAVOR@-nox-dbg (= ${binary:Version}), ${misc:Depends}
+Description: Debugging symbols for @DEB_FLAVOR@-nox
+ GNU Emacs is the extensible self-documenting text editor.  This
+ package contains the debugging symbols for a version of Emacs
+ compiled without support for X.
+
 Package: @DEB_FLAVOR@
 Architecture: any
 Depends: @DEB_FLAVOR@-bin-common (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
@@ -46,6 +66,16 @@ Description: GNU Emacs editor (with GTK+ user interface)
  GNU Emacs is the extensible self-documenting text editor.
  This package contains a version of Emacs with a GTK+ user interface.
 
+Package: @DEB_FLAVOR@-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: @DEB_FLAVOR@-dbg (= ${binary:Version}), ${misc:Depends}
+Description: Debugging symbols for @DEB_FLAVOR@
+ GNU Emacs is the extensible self-documenting text editor.  This
+ package contains the debugging symbols for a version of Emacs with a
+ GTK+ user interface.
+
 Package: @DEB_FLAVOR@-bin-common
 Architecture: any
 Depends: @DEB_FLAVOR@-common (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
index d6bc1f10ac9078f12b486a16c093cf6b67da7a8e..b1601ad6f92c4fce05e08a7557ce831add56af06 100755 (executable)
@@ -599,6 +599,13 @@ override_dh_auto_install: $(autogen_install_files)
        rm -rf $(install_dir_nox)
        rm -rf $(install_dir_lucid)
 
+.PHONY: override_dh_strip
+override_dh_strip:
+       dh_strip -p$(flavor) --dbg-package=$(flavor)-dbg
+       dh_strip -p$(flavor)-lucid --dbg-package=$(flavor)-lucid-dbg
+       dh_strip -p$(flavor)-nox --dbg-package=$(flavor)-nox-dbg
+       dh_strip
+
 override_dh_testdir:
        $(testdir)